<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>分店图片</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>ui/css/right.css">
</head>
<script type="text/javascript">
  var pageUrl="${basePath}storeAddress/list.html?type=${type}&porCode=${porCode}";
</script>
<body>
		<div id="all">
			<div id="main">
				<div class="pageColumn">
					<div class="add_div">
						<%@ include file="/common/nav.jsp"%>
						<span style="float: right;padding-right: 10px"><button onclick="javascript:window.location.href='${basePath}storeAddress/edit/${type}.html?porCode=${porCode}'"
							class="add_btn">新 增</button></span>
					</div>
					<table>
						<thead>
							<tr>
								<th>店名</th>
								<th>创建时间</th>
								<th>电话</th>
								<th>地址</th>
								<th>公交</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="entity" items="${dishList }">
								<tr>
									<td width="20%">${entity.dishName }</td>
									<td width="15%"><fmt:formatDate value="${entity.dishWhen }"
											pattern="yyyy-MM-dd HH:mm:ss" /></td>
									<td width="15%">${entity.dishSubtitle }</td>
									<td width="15%">${entity.dishSource }</td>
									<td width="15%">${entity.dishSecondname }</td>
									<Td width="5%">
									<a
										href="${basePath}storeAddress/edit/${type}.html?id=${entity.id}&porCode=${porCode}" title="编辑"> <img
											width="16" height="16"
											src="${basePath}image/frame/edit2.png"></a> <a title="删除"
										href="${basePath}storeAddress/delete/${type}.html?id=${entity.id}&porCode=${porCode}"
										onclick="if(confirm('确定删除吗？')){ return true;} else { return false}"><img
											width="16" height="16"
											src="${basePath}image/frame/del.png"></a></td>
								</tr>
							</c:forEach>
							<tr class="">
								<td class="checkBox" colspan="7"
									style="text-align:left; padding-left:12px;"><%@ include
										file="/common/page.jsp"%></td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
		</div>
</body>
</html>

